package com.petsystem.system.mapper;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.petsystem.system.domain.TPet;
import com.petsystem.common.core.mybatisplus.core.BaseMapperPlus;
import com.petsystem.system.domain.vo.TPetVo;

/**
 * 宠物信息Mapper接口
 *
 * @author petsystem
 * @date 2022-02-26
 */
public interface TPetMapper extends BaseMapperPlus<TPet> {
//    @DataPermission({
//        @DataColumn(key = "deptName", value = "d.dept_id"),
//        @DataColumn(key = "userName", value = "u.user_id")
//    })
    Page<TPetVo> selectPagePetList(@Param("page") Page<TPetVo> page, @Param("pet") TPet pet);
}
